package utils

var zhCnText = map[int]string{
	Success:                "成功",
	ServerError:            "内部服务器错误",
	TooManyRequests:        "请求过多",
	ParamBindError:         "参数错误",
	AuthorizationError:     "授权错误",
	UrlSignError:           "URL签名错误",
	CacheSetError:          "设置缓存失败",
	CacheGetError:          "获取缓存失败",
	CacheDelError:          "删除缓存失败",
	CacheNotExist:          "缓存不存在",
	ResubmitError:          "请勿重复提交",
	HashIdsEncodeError:     "HashID加密失败",
	HashIdsDecodeError:     "HashID解密失败",
	RBACError:              "无访问权限",
	RedisConnectError:      "Redis连接失败",
	MySQLConnectError:      "MySQL连接失败",
	WriteConfigError:       "写入配置文件失败",
	SendEmailError:         "发送邮件失败",
	MySQLExecError:         "SQL执行失败",
	GoVersionError:         "Go版本不匹配",
	SocketConnectError:     "Socket未连接",
	SocketSendError:        "Socket消息发送失败",
	DeleteError:            "删除数据失败",
	UpdateError:            "更新数据失败",
	InsertError:            "插入数据失败",
	GetError:               "获取数据失败",
	GetCountError:          "获取数量失败",
	GetTokenError:          "获取token数据失败",
	GetUserPrivateKeyError: "获取私钥数据失败",
	GetWithdrawError:       "获取提币数据失败",

	AuthorizedCreateError:    "创建调用者失败",
	AuthorizedListError:      "获取调用者列表失败",
	AuthorizedDeleteError:    "删除调用者失败",
	AuthorizedUpdateError:    "更新调用者失败",
	AuthorizedDetailError:    "获取调用者详情失败",
	AuthorizedCreateAPIError: "创建调用者API地址失败",
	AuthorizedListAPIError:   "获取调用者API地址列表失败",
	AuthorizedDeleteAPIError: "删除调用者API地址失败",

	MongodbNoData:         "mongodb无数据",
	MongodbCountError:     "获取数据计数失败",
	MongodbFindDataError:  "mongodb查找错误",
	MongodbAggregateError: "聚合错误",
	MongodbDataIsExist:    "数据已存在",

	ParseDataError: "数据解析失败",
	CallBackError:  "回调地址失败",
	CodeError:      "获取验证码失败",
	CodeExpired:    "验证码失效",

	FeeAddressNotPrivateKey:      "手续费地址不是一个有效的私钥地址",
	WithdrawAddressNotPrivateKey: "提币地址不是一个有效的私钥地址",
	EmailCodeError:               "邮箱验证码错误",
	UserNotExist:                 "用户不存在",
	GasFeeError:                  "获取gasfee失败",
	AbiParseError:                "abi解析失败",
	SendTransactionError:         "发送交易失败",
	CallbackFailed:               "回调地址失败",
	DuplicateCollection:          "重复归集",
	ParamNotNull:                 "参数不能为空",
	UserNameOrPasswordError:      "用户名或密码错误",
	UserStatusStop:               "用户已禁用",
	GenerateTokenError:           "生成token失败",
	PageParamInvalid:             "page参数无效",
	MissChainName:                "缺少chain-name参数",
	MissChainId:                  "缺少chain-id参数",
	BodyNotEmpty:                 "body不能为空",
	NonceNotEmpty:                "nonce不能为空",
	SignNotEmpty:                 "sign不能为空",
	TimeStampNotEmpty:            "时间戳不能为空",
	BodyParseError:               "body解析错误",
	UserNotMemberOrStop:          "用户未升级或被禁用",
	MainCoinTypeInvalid:          "MainCoinType无效",
	ConnectRpcUrlError:           "连接rpc错误",
	SignError:                    "sign错误",
	GeneratePrivateError:         "生成私钥错误",
	ChainIdNotMatch:              "chainId不匹配",
	CreateWalletError:            "创建钱包失败",
	TransferError:                "交易失败",
	PrivateKeyParseError:         "私钥解析失败",
	EthToWeiError:                "eth转wei失败",
	GenerateAddressError:         "生成地址失败",
	AddressFormatError:           "地址格式错误",
	RepeatedWithdraw:             "重复提币",
}
